<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <link rel="icon" href="assets/favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
        <meta content="1 days" name="revisit-after" />
    <meta content="telephone=no" name="format-detection" />
    
    <meta name="viewport" content="width=640,user-scalable=0,target-densitydpi=device-dpi">
    <!--
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0" />
-->

    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="false" id="twcClient" name="twcClient" />
        
    <title>清除数据</title>
    <script>var zmdoc = zmdoc||{};</script>
    <!--[if IE]>
                            <![endif]-->
<style type="text/css">
body.zm {
    padding:0;
    width:640px;
    font-size:24px;
    overflow-x:hidden;
    line-height:1.6;
    color:red;
}

</style>
        
    <script type="text/javascript" src="http://html.zmaitech.com/document/common/z.js"></script> 
</head>
<body class="zm zmmobile">
清除数据接口；慎用！！！！
<br />
<button onclick="clearData();"><?php echo empty($desc) ? '清除青音父母爱情故事数据' : $desc ?></button>
<script type="text/javascript">
    function clearData (argument) {
        if(confirm('确定要清除数据吗？？？')) {
            $.ajax({
                url:'<?php echo base_url($ctrlName.'/clearDb'); ?>',
                params:{},
                success:function(res) {
                    alert(res.detail);
                }
            });
        }
    }
</script>
</body>
</html>
